<!--河南星辰软件科技有限公司
@copyright Copyright (c) 2010~2022 All rights reserved.
-->
<template>
  <div class='app-container'>
    <el-row>
      <el-col :span='22' :xs='24'>
        <el-form ref="form" :rules="rules" label-width="100px" id="mvcfm">
          <div class="form-unit">
            <span class="mvc-title-left"> 质量记录 </span>
          </div>
          <div>
            <el-row>
              <el-col :span="12">
                <el-form-item label="维护记录" prop="">
                  <el-select style='width:100%' v-model="empty">
                    <el-option label="－－无－－" value='' />
                  </el-select>
                </el-form-item>
              </el-col>
            </el-row>
          </div>
          <div class="form-unit">
            <span class="mvc-title-left"> 作业记录 </span>
          </div>
          <el-table>
            <el-table-column label="操作" align="center" width='100' type=''>
              <template slot-scope="scope">
                <el-dropdown trigger="click">
                  <span class="el-dropdown-link">操作<i class="el-icon-arrow-down el-icon--right"></i></span>
                  <el-dropdown-menu slot="dropdown">
                    <el-dropdown-item>
                      <el-link @click="gotoPage(''+vueparams+'')">修改</el-link>
                    </el-dropdown-item>
                  </el-dropdown-menu>
                </el-dropdown>
              </template>
            </el-table-column>
            <el-table-column label="增加新作业记录" prop="">
              <template slot-scope="scope">
                <el-button @click="gotoPage(''+vueparams+'')" type='success' size="mini"><i class='fa fa-plus'></i>增加新作业记录</el-button>
              </template>
            </el-table-column>
            <el-table-column label="选中" prop="">
              <template slot-scope="scope">
                <el-checkbox v-model="empty" :checked="empty==1? true:false" label=""></el-checkbox>
              </template>
            </el-table-column>
            <el-table-column label="作业时间" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="作业人" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="作业内容" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
          </el-table>
          <div class="form-unit">
            <span class="mvc-title-left"> 维护记录 </span>
          </div>
          <el-table>
            <el-table-column label="操作" align="center" width='100' type=''>
              <template slot-scope="scope">
                <el-dropdown trigger="click">
                  <span class="el-dropdown-link">操作<i class="el-icon-arrow-down el-icon--right"></i></span>
                  <el-dropdown-menu slot="dropdown">
                    <el-dropdown-item>
                      <el-link @click="gotoPage(''+vueparams+'')">修改</el-link>
                    </el-dropdown-item>
                  </el-dropdown-menu>
                </el-dropdown>
              </template>
            </el-table-column>
            <el-table-column label="增加新维护记录" prop="">
              <template slot-scope="scope">
                <el-button @click="gotoPage(''+vueparams+'')" type='success' size="mini"><i class='fa fa-plus'></i>增加新维护记录</el-button>
              </template>
            </el-table-column>
            <el-table-column label="选中" prop="">
              <template slot-scope="scope">
                <el-checkbox v-model="empty" :checked="empty==1? true:false" label=""></el-checkbox>
              </template>
            </el-table-column>
            <el-table-column label="维护内容" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="维护时间" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="维护人" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
          </el-table>
          <div class="form-unit">
            <span class="mvc-title-left"> 检修记录 </span>
          </div>
          <el-table>
            <el-table-column label="操作" align="center" width='100' type=''>
              <template slot-scope="scope">
                <el-dropdown trigger="click">
                  <span class="el-dropdown-link">操作<i class="el-icon-arrow-down el-icon--right"></i></span>
                  <el-dropdown-menu slot="dropdown">
                    <el-dropdown-item>
                      <el-link @click="gotoPage(''+vueparams+'')">修改</el-link>
                    </el-dropdown-item>
                  </el-dropdown-menu>
                </el-dropdown>
              </template>
            </el-table-column>
            <el-table-column label="增加新检修记录" prop="">
              <template slot-scope="scope">
                <el-button @click="gotoPage(''+vueparams+'')" type='success' size="mini"><i class='fa fa-plus'></i>增加新检修记录</el-button>
              </template>
            </el-table-column>
            <el-table-column label="选中" prop="">
              <template slot-scope="scope">
                <el-checkbox v-model="empty" :checked="empty==1? true:false" label=""></el-checkbox>
              </template>
            </el-table-column>
            <el-table-column label="维修分类" prop="" 维修分类>
              <template slot-scope="scope">
                <el-select style='width:100%' v-model="empty">
                  <el-option label="－－无－－" value='' />
                </el-select>
              </template>
            </el-table-column>
            <el-table-column label="维修内容" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="维修人" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="维修时间" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
          </el-table>
          <div class="form-unit">
            <span class="mvc-title-left"> 点检记录 </span>
          </div>
          <el-table>
            <el-table-column label="操作" align="center" width='100' type=''>
              <template slot-scope="scope">
                <el-dropdown trigger="click">
                  <span class="el-dropdown-link">操作<i class="el-icon-arrow-down el-icon--right"></i></span>
                  <el-dropdown-menu slot="dropdown">
                    <el-dropdown-item>
                      <el-link @click="gotoPage(''+vueparams+'')">修改</el-link>
                    </el-dropdown-item>
                  </el-dropdown-menu>
                </el-dropdown>
              </template>
            </el-table-column>
            <el-table-column label="增加新的点检记录" prop="">
              <template slot-scope="scope">
                <el-button @click="gotoPage(''+vueparams+'')" type='success' size="mini"><i class='fa fa-plus'></i>增加新的点检记录</el-button>
              </template>
            </el-table-column>
            <el-table-column label="选中" prop="">
              <template slot-scope="scope">
                <el-checkbox v-model="empty" :checked="empty==1? true:false" label=""></el-checkbox>
              </template>
            </el-table-column>
            <el-table-column label="点检标准" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="点检内容" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="点检人" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="点检时间" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
            <el-table-column label="" prop="">
              <template slot-scope="scope">
                <el-input v-model="empty" />
              </template>
            </el-table-column>
          </el-table>
        </el-form>
      </el-col>
      <el-col :span='2' :xs='24'>
        <el-menu default-active='active' class='menu-unit'>
          <el-menu-item v-for='item in Container'>
            <el-link @click="gotoMenu(item.url)" :type="'维护记录'===item.name?'primary':'default'">{{item.page_desc||item.name}}</el-link>
          </el-menu-item>
        </el-menu>
      </el-col>
    </el-row>
  </div>
</template>
<script>
  import request from '@/utils/request'
  export default {
    name: 'CheckDevNoteFunction',
    components: {},
    props: ['popparams'],
    data() {
      return {
        vueparams: this.getVUEParams(""),
        loading: false,
        Container: null,
        rules: {}
      }
    },
    created() {
      this.loadContainerMenu({
        pid: "D797D94B97264F339A7F3838BB343F64",
        name: "生产设备右菜单",
        selected: "维护记录"
      }, 'Container', this.vueparams);
    },
    updated() {},
    mounted() {},
    methods: {},
  }
</script>
